import Request from '@/utils/request/request-util';

/**
 * 进场煤分摊记录-API接口
 *
 * @author 张朋飞
 * @date 2024/10/11 16:52
 */
export class PrWeightRecodsApi {

  /**
   * 获取分页列表
   *
   * @author 张朋飞
   * @date 2024/10/11 16:52
   */
  static findPage(params) {
    return Request.getAndLoadData('/prWeightRecods/page', params);
  }

  /**
   * 添加进场煤分摊记录
   *
   * @author 张朋飞
   * @date 2024/10/11 16:52
   */
  static add(params) {
    return Request.post('/prWeightRecods/add', params);
  }

  /**
   * 编辑进场煤分摊记录
   *
   * @author 张朋飞
   * @date 2024/10/11 16:52
   */
  static edit(params) {
    return Request.post('/prWeightRecods/edit', params);
  }

  /**
   * 删除单个进场煤分摊记录
   *
   * @author 张朋飞
   * @date 2024/10/11 16:52
   */
  static delete(params) {
    return Request.post('/prWeightRecods/delete', params);
  }

  /**
   * 删除批量进场煤分摊记录
   *
   * @author 张朋飞
   * @date 2024/10/11 16:52
   */
  static batchDelete(params) {
    return Request.post('/prWeightRecods/batchDelete', params);
  }

  /**
   * 进场煤分摊记录详情
   *
   * @author 张朋飞
   * @date 2024/10/11 16:52
   */
  static detail(params) {
    return Request.getAndLoadData('/prWeightRecods/detail', params);
  }

   /**
   * 查询煤场所有区域
   *
   * @author 张朋飞
   * @date 2021/12/29 09:15:48
   */
   static findManagerCodeList(params) {
    return Request.getAndLoadData('/prWeightRecods/managerCodelist', params);
  }
 
}